package cn.com.ejiakanghu.core.exception;

import cn.com.ejiakanghu.core.enums.ResultCode;

/**
 * @author houzb
 * @Description
 * @create 2021-12-03 15:59
 */
public class CheckException extends Exception{

    private ResultCode resultCode;

    public CheckException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

    public ResultCode getResultCode() {
        return resultCode;
    }

    public void setResultCode(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
